<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <form action="{{url('admin/user/addform')}}" method="post">
        @csrf
        <table>
            <tr>
                <td>用户名：</td>
                <td>
                    <input type="text" name="email" value="{{ old('email') }}"  class="@error('email') is-invalid @enderror" placeholder="请输入用户名">
                </td>
                
            </tr>
            <tr>
                @error('email')
                    <div>{{ $message }}</div>
                @enderror
            </tr>
            <tr>
                <td>密码：</td>
                <td>
                    <input type="password" value="{{old('password')}}" class="@error('password') is-invalid @enderror" name="password" placeholder="请输入密码">
                </td>
            </tr>
            <tr>
                @error('password')
                    <div>{{ $message }}</div>
                @enderror
            </tr>
            <tr>
                <td></td>
                <td>
                    <input type="submit" value="提交">
                </td>
            </tr>
        </table>
    </form>
</body>
</html>